package com.ctsi.findexpert.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;

@Entity(name = "t_my_follow")
public class MyFollow implements Serializable {

    /**
     * 主键
     */
    @Id
    private String id;
    /**
     * 用户ID
     */
    @Column(length = 100)
    private String userId;
    /**
     * 专家ID
     */
    @Column(length = 100)
    private String expertId;
    /**
     * 关注时间
     */
    @Column
    private Date followTime;

    public MyFollow() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getExpertId() {
        return expertId;
    }

    public void setExpertId(String expertId) {
        this.expertId = expertId;
    }

    public Date getFollowTime() {
        return followTime;
    }

    public void setFollowTime(Date followTime) {
        this.followTime = followTime;
    }
}
